package org.gruposp2p.aularest.model;

import java.util.Collection;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

/**
 *
 * @author jj
 */
@XmlRootElement(name = "addresses")
@XmlType
public class Addresses {

    private Collection<Address>  addressCollection;

    /**
     * @return the addressCollection
     */
    @XmlElement(name="address")
    public Collection<Address> getAddressCollection() {
        return addressCollection;
    }

    /**
     * @param addressCollection the addressCollection to set
     */
    public void setAddressCollection(
            Collection<Address> addressCollection) {
        this.addressCollection = addressCollection;
    }

}
